package com.beta.em.client;

/**
 * Created by vector on 2016/11/17.
 */
public enum ClientType {

    IOS("ios", "ios"),
    ANDROID("android", "安卓");

    public final String value;

    public final String cnValue;

    ClientType(String value, String cnValue) {
        this.value = value;
        this.cnValue = cnValue;
    }

    public static String getCnValue(String value) {
        for (ClientType status: values()) {
            if (status.value.equals(value)) {
                return status.cnValue;
            }
        }
        return null;
    }

}
